package com.zqxq.lottery.service.sys.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zqxq.common.utils.StrUtils;
import com.zqxq.lottery.entity.po.sys.SysCouponPO;
import com.zqxq.lottery.entity.po.user.UserCouponPO;
import com.zqxq.lottery.mapper.sys.SysActivityMapper;
import com.zqxq.lottery.mapper.sys.SysCouponMapper;
import com.zqxq.lottery.mapper.user.UserCouponMapper;
import com.zqxq.lottery.service.sys.ISysCouponService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.interceptor.TransactionAspectSupport;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 苦智
 * @date 2018/5/26 12:17
 * @description 优惠券
 * @ClassName SysCouponServiceImpl
 */
@Service
@Slf4j
public class SysCouponServiceImpl extends ServiceImpl<SysCouponMapper,SysCouponPO> implements ISysCouponService{
    @Override
    public void updateUserCoupon() {
        baseMapper.updateUserCoupon();
    }
}
